package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.CustomerRelationKeyDepartment.DepartMentList;

public class CustomerRelationAddDepartmentActivity extends SingleFragmentActivity {

  //private int[] department = {R.string.addDepartment,R.string.departmentPeo};
  //private CustomerRelationListStaffFragment addStaffFragment;
  @Override protected Fragment createFragment() {
    DepartMentList department = (DepartMentList) getIntent().getSerializableExtra(
        CustomerRelationAddDepartmentFragment.EXTRA_DEPARTMENT);
    return CustomerRelationAddDepartmentFragment.newInstance(department);
  }

  //@Override
  //protected Fragment createFragmentTwo() {
  //	addStaffFragment =new CustomerRelationListStaffFragment();
  //	return addStaffFragment;
  //}

  //@Override
  //protected int[] createTitle() {
  //	return department;
  //}

  //@Override
  //public void onRefresh(String customerId,String orgId) {
  //	setNavigateTo(1);
  //	addStaffFragment.refresh();
  //	addStaffFragment.getData(customerId,orgId);
  //	LogUtil.i("customerId==="+customerId+",orgId==="+orgId);
  //}
}

